cmake_minimum_required (VERSION 2.6)

project (ArDetector)

add_definitions(-D__LINUX__)
add_definitions(-std=c++11)
find_package(hirop_vision REQUIRED)

FIND_PACKAGE(PCL REQUIRED)
FIND_PACKAGE(OpenCV REQUIRED)

aux_source_directory(./ SRCS)

INCLUDE_DIRECTORIES(${OpenCV_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS})

ADD_LIBRARY(ArDetector SHARED ${SRCS})

TARGET_LINK_LIBRARIES(ArDetector ${hirop_vision_LIBRARIES} ${OpenCV_LIBRARIES})

INSTALL(TARGETS ArDetector DESTINATION lib)





